package com.syxp.pda.service.standard.impl;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.syxp.pda.core.dao.BaseDao;
import com.syxp.pda.core.service.impl.BaseServiceImpl;
import com.syxp.pda.entity.standard.DeviceRunState;
import com.syxp.pda.service.standard.DeviceRunStateService;

@Transactional
public class DeviceRunStateServiceImpl extends BaseServiceImpl<DeviceRunState> implements
DeviceRunStateService {

	private BaseDao<DeviceRunState> deviceRunStateDao;
	
	public DeviceRunStateServiceImpl(BaseDao<DeviceRunState> baseDao) {
		super(baseDao);
		this.deviceRunStateDao = baseDao;
	}

	public List<DeviceRunState> getAllDeviceRunState() {
		return this.deviceRunStateDao.getAll();
	}

}
